
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">

<title>Administrator</title>

<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link rel="stylesheet" type="text/css" href="/css/admin.css" />
<script type="text/javascript" src="/js/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="/js/functions.js"></script>

<?php

if($_COOKIE["GMTClient"]=="") //$_COOKIE["GMTClient"] has not been set
{
?>
<script>

	var gmtHours = -new Date().getTimezoneOffset()/60;
	$.ajax({
		url: "/includes/set-gmtclient.php?gmt="+gmtHours,
		success: function(data)
		{
			location.reload();	
		}
	});

</script>	
<?php
}
?>

</head>

<body>
	
	<div id="header">
		<div id="top-header">	
			<ul id="navigation">
				<li><a href="/admin">Home</a></li>
				<li><a href="/admin/match">Match</a></li>
				<li><a href="/admin/highlights">Highlights</a></li>
				<li><a href="/admin/competition">Competition</a></li>
				<li><a href="/admin/team">Team</a></li>
				<li><a href="/admin/video">Video</a></li>
			</ul>
		</div>	
	</div>
	
	<div id="container" class="box">
